/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hydms.students.dao;

import java.util.List;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.hydms.dormitory.entity.DmsDormitory;
import com.thinkgem.jeesite.modules.hydms.students.entity.DmsStudents;

/**
 * 学生信息DAO接口
 * @author 孟朋朋
 * @version 2017-04-01
 */
@MyBatisDao
public interface DmsStudentsDao extends CrudDao<DmsStudents> {
	/**
	 * 
	 * updateDormitory:(更新学生宿舍)
	 * 
	 * @param dmsStudents
	 * @return
	 */
	public boolean  updateDormitory(DmsStudents dmsStudents);
	/**
	 * 
	 * updateRoomBed:(更新宿舍空床位)
	 * 
	 * @param dmsDormitory
	 * @return
	 */

	public boolean updateRoomBed(DmsDormitory dmsDormitory);
	/**
	 * 
	 * findAList:(查找学生)
	 * 
	 * @param student
	 * @return
	 */
	public List<DmsStudents> findAList(DmsStudents student);
	
	
}